package com.yidu.best.basicSetup.exchange.service;

import java.util.List;
import java.util.Map;

import com.yidu.best.basicSetup.exchange.domain.Exchange;
import com.yidu.best.basicSetup.exchange.domain.ExchangeVo;


/**
 * 
 * @author AA
 *
 */
public interface ExchangeService {
	/**
	 * 查询
	 * @param exchangeVo
	 * @return
	 */
	public  Map<String,Object> findExchange(ExchangeVo exchangeVo); 
	
	/**
	 * 添加
	 * @param exchangeVo
	 * @return
	 */
	public int addExchange(Exchange exchange);
	
	/**
	 * 修改
	 * @param exchange
	 * @return
	 */
	public int updateExchange(Exchange exchange);
	/**
	 * 删除
	 * @param exchangeId
	 * @return
	 */
	public int deleteExchange(String exchangeId);
	
	/**
	 * 查询所有
	 * @param exchange
	 * @return
	 */
	public List<Exchange> findAll();
}
